package com.example.qx.lei;

public class zhangmi {
    private  static  zhangmi instance;
    private String mima;
    private int zhanghao;

    public  zhangmi(){
        zhanghao=0;
        mima="";
    }
    public static synchronized zhangmi getInstance(){
        if(instance==null)
            instance=new zhangmi();
        return  instance;
    }

    public int getZhang() {
        return zhanghao;
    }

    public void setZhang(int zhanghao) {
        this.zhanghao=zhanghao;
    }

    public String getMima() {
        return mima;
    }

    public void setMima(String mima) {
        this.mima = mima;
    }
}
